﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IDE_week2_Forms_project
{
    class Class1
    {
        private static Random random = new Random();

        public static void MakeRandomNumber(int[] numbers)
        {
            int i, value;

            for (i = 0; i < 10; i++) numbers[i] = 0;

            for (i = 1; i < 10; i++)
            {
                value = random.Next(0, 9);
                numbers[value] = numbers[value] + 1;
            }
        }
    }
}
